/* 错题集页面样式 */

/* 错题分类标签 */
.wrong-categories {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px;
    background-color: var(--card-color);
    border-bottom: 1px solid var(--border-color);
}

.wrong-category {
    padding: 8px 15px;
    margin-right: 10px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    background-color: var(--background-color);
    color: var(--text-color);
}

.wrong-category.active {
    background-color: var(--primary-color);
    color: white;
}

/* 错题统计 */
.wrong-stats {
    padding: 15px;
    background-color: var(--card-color);
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stats-header h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--light-text);
}

/* 错题列表 */
.wrong-list {
    padding: 0 15px 15px;
}

.wrong-card {
    background-color: var(--card-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wrong-question {
    margin-bottom: 15px;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.question-type {
    font-size: 12px;
    color: var(--accent-color);
    background-color: rgba(255, 112, 67, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

.question-date {
    font-size: 12px;
    color: var(--light-text);
}

.question-content {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 15px;
}

.wrong-answer {
    background-color: rgba(255, 87, 87, 0.1);
    border-left: 3px solid #ff5757;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ff5757;
}

.correct-answer {
    background-color: rgba(76, 217, 100, 0.1);
    border-left: 3px solid #4cd964;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #4cd964;
}

.question-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--light-text);
}

.action-btn i {
    margin-right: 5px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--light-text);
}

.empty-state i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--border-color);
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

.add-wrong-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
} 